|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICommandProcessor
A service provided by the process controller that accepts commands issued from components of the process.
| Method Summary | |
|---|---|
boolean |
enqueue(ICommand command)
Attempts to enqueue the specified command for execution by the process controller. |
boolean |
process(ICommand command)
Attempts to enqueue the specified command for execution by the process controller and then waits for all commands in the queue to be processed before returning. |
| Method Detail |
|---|
boolean enqueue(ICommand command)
command - The command to enqueue.
boolean process(ICommand command)
throws java.lang.IllegalStateException
command - The command to enqueue.
java.lang.IllegalStateException - If the process controller is not in the
blocking state.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||